/** @type {import('knex').Knex} */

export async function seed(knex) {
  // 清空现有数据
  await knex("users").del();

  // 插入新数据
  await knex("users").insert([
    { username: "admin", password: "admin123", is_admin: true },
    { username: "user1", password: "password1", is_admin: false },
    { username: "user2", password: "password2", is_admin: false },
  ]);
}
